<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Reranker Framework (ReFr): reranker::Constructor&lt; T &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Reranker Framework (ReFr)
   
   </div>
   <div id="projectbrief">Reranking framework for structure prediction and discriminative language modeling</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacereranker.html">reranker</a>      </li>
      <li class="navelem"><a class="el" href="classreranker_1_1_constructor.html">Constructor</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">reranker::Constructor&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="reranker::Constructor" -->
<p>An interface with a single virtual method that constructs a concrete instance of the abstract type <code>T</code>.  
 <a href="classreranker_1_1_constructor.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="factory_8_h_source.html">factory.H</a>&gt;</code></p>

<p><a href="classreranker_1_1_constructor-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_constructor.html#a7cd26a61b1ace2b0e7cf677c8f60ab39">NewInstance</a> () const =0</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br/>
class reranker::Constructor&lt; T &gt;</h3>

<p>An interface with a single virtual method that constructs a concrete instance of the abstract type <code>T</code>. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00281">281</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7cd26a61b1ace2b0e7cf677c8f60ab39"></a><!-- doxytag: member="reranker::Constructor::NewInstance" ref="a7cd26a61b1ace2b0e7cf677c8f60ab39" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual T* <a class="el" href="classreranker_1_1_constructor.html">reranker::Constructor</a>&lt; T &gt;::<a class="el" href="classreranker_1_1_constructor.html#a7cd26a61b1ace2b0e7cf677c8f60ab39">NewInstance</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classreranker_1_1_example_feature_extractor_constructor.html#a6595976f2250b33223ad63a34c25edaf">reranker::ExampleFeatureExtractorConstructor</a>, <a class="el" href="classreranker_1_1_perceptron_model_default_updater_constructor.html#a8098001588f44c0716748d14b07634e9">reranker::PerceptronModelDefaultUpdaterConstructor</a>, <a class="el" href="classreranker_1_1_random_pair_candidate_set_scorer_constructor.html#a8605c5e4f1f00cf18254061b6d79c2d2">reranker::RandomPairCandidateSetScorerConstructor</a>, <a class="el" href="classreranker_1_1_default_candidate_set_scorer_constructor.html#ab4731ace96d2d2791d63e6dee94f0c5e">reranker::DefaultCandidateSetScorerConstructor</a>, <a class="el" href="classreranker_1_1_perceptron_model_default_update_predicate_constructor.html#a33ca1547c6b2a25980f5fa89de9c9f87">reranker::PerceptronModelDefaultUpdatePredicateConstructor</a>, <a class="el" href="classreranker_1_1_default_gold_comparator_constructor.html#a9086d82fcd94d2cabec40b1cbfdb7711">reranker::DefaultGoldComparatorConstructor</a>, <a class="el" href="classreranker_1_1_default_score_comparator_constructor.html#a9eff1feb05611e5df5ea6aa7481897bd">reranker::DefaultScoreComparatorConstructor</a>, <a class="el" href="classreranker_1_1_perceptron_model_constructor.html#a0d598feb02fa1ce2500916b8709e79cd">reranker::PerceptronModelConstructor</a>, <a class="el" href="classreranker_1_1_perceptron_model_proto_reader_constructor.html#a325fb521ddc44c10675d31a33900fedc">reranker::PerceptronModelProtoReaderConstructor</a>, <a class="el" href="classreranker_1_1_perceptron_model_proto_writer_constructor.html#a6c6061a820105f5cdbde5b4fa5684591">reranker::PerceptronModelProtoWriterConstructor</a>, <a class="el" href="classreranker_1_1_file_backed_loss_setter_constructor.html#af90169247900a2826cf0f8902a2a17a3">reranker::FileBackedLossSetterConstructor</a>, <a class="el" href="classreranker_1_1_mira_style_model_constructor.html#a9b4e285fdc96393206f28b1d585f345f">reranker::MiraStyleModelConstructor</a>, <a class="el" href="classreranker_1_1_ngram_feature_extractor_constructor.html#a1d49a062236dec73907c87d0733d6da8">reranker::NgramFeatureExtractorConstructor</a>, <a class="el" href="classreranker_1_1_direct_loss_score_comparator_constructor.html#ad906090eed9e21e469475e08ea21300f">reranker::DirectLossScoreComparatorConstructor</a>, <a class="el" href="classreranker_1_1_basic_file_backed_feature_extractor_constructor.html#a5de4d3f0f10e10a82cbd1ef1ae6f2251">reranker::BasicFileBackedFeatureExtractorConstructor</a>, <a class="el" href="classreranker_1_1_file_backed_ngram_feature_extractor_constructor.html#a0318fc2270378c417b3c1d3ca944e678">reranker::FileBackedNgramFeatureExtractorConstructor</a>, and <a class="el" href="classreranker_1_1_rank_feature_extractor_constructor.html#a6826cfc2c6149c7e6f341aa9952ac172">reranker::RankFeatureExtractorConstructor</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="factory_8_h_source.html">factory.H</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 9 2013 11:56:30 for Reranker Framework (ReFr) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
